.code-body {
    margin: 0px !important;
    border-radius: 0 0 5px 5px !important;
}

.inline-code {
    background: #fefac7;
    color: #e67474;
    word-break: break-word;
    padding: 4px 6px;
    border-radius: 5px;
}


.code-header {
    &.light {
        color: #90a4ae;
        background: #e6ebf1;
    }

    &.dark {
        color: #ffffff;
        background-color: #50505a;
    }

    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 38px;
    font-size: 18px;
    font-weight: 600;
    line-height: 38px;
    user-select: none;
    border-radius: 5px 5px 0 0;

    .preview-code-copy {
        margin-left: auto;
        cursor: pointer;
        transition: all 0.3s;

        .copy-success {
            margin-right: 10px;
            font-size: 14px;
            color: #42d3ad;
            line-height: 1rem;
        }
    }
}

pre {
    margin: 0 0 20px !important;
    min-height: 0;
}

hr {
    border: none;
    height: 2px;
    background-color: #eaecef;
}

blockquote {
    margin: 0;
    border-left: 4px solid rgb(223 226 229);
    padding-left: 16px;
}

img {
    max-width: 100%;
}

table {
    display: block;
    overflow: auto;
    margin-bottom: 16px;
    width: 100%;
    border-collapse: collapse;
    empty-cells: show;
    border-spacing: 0;
    word-break: keep-all;
}

th {
    border: 1px solid #dfe2e5;
    padding: 6px 13px;
    white-space: nowrap;
    word-break: normal;
}

td {
    border: 1px solid #dfe2e5;
    padding: 6px 13px;
    white-space: nowrap;
    word-break: normal;
}

thead {
    tr {
        background: rgb(248 248 248);
    }
}

tbody {
    tr:nth-child(even) {
        background: rgb(248 248 248);
    }
}



.code-rotate-right {
    animation: rotate-right 0.2s linear forwards;
}

.code-rotate-down {
    animation: rotate-down 0.2s linear forwards;
}

@keyframes rotate-right {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(-90deg);
    }
}

@keyframes rotate-down {
    from {
        transform: rotate(-90deg);
    }

    to {
        transform: rotate(0);
    }
}